//
//  KUIHeadPageSwithView.h
//  Youbar
//
//  Created by  Lead To Asia 2 on 10/16/12.
//  Copyright (c) 2012 YaoXiaoxi. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HeadPageSwitchDelegate <NSObject>

-(void)delegateOnHeadPageSwitchButtonTap:(NSInteger)_integerSwitchButton;

@end


@interface HeadPageSwithView : UIView

@property (strong, nonatomic) id<HeadPageSwitchDelegate>	m_delegate;

//外界告诉要去哪个页面
//如果在有SCrollView的时候SCrollview滚动的时候调用setHeaderPageChangGoToButtonIndex
//如果没有ScrollView在合适的时候调用
-(void)setHeaderPageChangGoToButtonIndex:(NSInteger)_buttonIndex;


@end
